Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

well, I am already doing it once

and there's the problem that it leaves the original UIDoc visible until I save and close it. Setting SaveOptions to "0" does not allow the uidoc to be closed.

this is the block of code where the "faulty" paragraph is being copied.

note.SaveOptions = "0"
Set uidocNew = ws.EditDocument(True, note, , , , True)
Call uidocNew.Document.RemoveItem("Body")
Call uidocNew.Document.CreateRichTextItem("Body")
Call rtitem.CopyItemToDocument(uidocNew.Document,"Body")
Call uidocNew.Reload

closeUI:
Call uidoc.FieldSetText("SaveOptions","0")
On Error Resume Next ' trap known errors
Call uidoc.FieldSetText("mywFlag","")
Call uidoc.FieldSetText("CalendarDateTime","")
On Error Goto ProcessError1
docID = uidoc.Document.UniversalID
Call uidoc.Save
Call uidoc.Close(True)
Set uidoc = Nothing

If you can help me get the original UI to close without saving, then maybe I can get another "ws.EditDocument" to correctly load the subform.


Feedback response number WEBB88CJVW created by ~James Preresasternivu on 08/15/2010

Invisible attachments in R8.5 (~James Preresas... 4.Aug.10)
. . Exact same problem here (~Joseph Brenize... 5.Aug.10)
. . . . if you are willing to discuss this.... (~James Preresas... 5.Aug.10)
. . haven't heard of this one (~Bill Frokimari... 4.Aug.10)
. . some code (~James Preresas... 5.Aug.10)
. . . . please send me a database containin... (~Bill Frokimari... 5.Aug.10)
. . . . . . Done (~James Preresas... 9.Aug.10)
. . . . . . . . Are you using the same userID on bo... (~Bill Frokimari... 9.Aug.10)
. . . . . . . . . . where do you see the Hide-when form... (~James Preresas... 9.Aug.10)
. . . . . . . . . . . . about hide formulas on a rich-text ... (~Bill Frokimari... 9.Aug.10)
. . . . . . . . . . . . . . I see ... but (~James Preresas... 10.Aug.10)
. . . . . . . . . . . . . . . . The NotesPeek tool is available for... (~Bill Frokimari... 10.Aug.10)
. . . . . . . . . . . . . . . . . . You are right (as always) (~James Preresas... 11.Aug.10)
. . . . . . . . . . . . . . . . . . . . You can close and reopen the docume... (~Bill Frokimari... 11.Aug.10)
. . . . . . . . . . . . . . . . . . . . . . well, I am already doing it once (~James Preresas... 15.Aug.10)
. . . . . . . . . . . . . . . . . . . . . . . . Suggest you do not discard errors (~Bill Frokimari... 23.Aug.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS